home *** CD-ROM | disk | FTP | other *** search
- Documentation for COLOR.BAT [This file must be named COLOR.HLP]
-
- COLOR.BAT may be used to set foreground and background colors on
- color monitors and set bold (high intensity), normal or reverse on
- any type of monitor. If your system has two monitors, COLOR.BAT will
- make it easier to switch between your monitors (though this requires
- the presence of MODE.COM on the default directory).
-
- To use this command file, you must boot your system using DOS 2.0
- or higher & must have a CONFIG.SYS file defined on the boot disk
- as well as ANSI.SYS. This CONFIG.SYS file is described in your DOS
- manual but the line that you need in this file is "DEVICE=ANSI.SYS".
- ANSI.SYS must also be on your boot directory (it came with DOS).
-
- I use the following CONFIG.SYS on my PC:
- line 1: DEVICE=ANSI.SYS
- line 2: BUFFERS=8
-
- If you have done these things, then you may send special escape code
- sequences to your computer which will be interpreted according to
- what IBM considers to be ANSII standard. These escape codes can
- set colors, blink, intensity as well as redefine your keyboard.
- Display the COLOR.BAT file if you want to see the escape codes for
- the different parameters.
-
- I saw the parent to this command file in a PC-WORLD somewhere back
- in 1983. My appoligies but I did not write down the author's name
- and can't find my old copy. Do not delete this .HLP file (at least
- not the last 22 lines since that is the help used by the command file
- when you type COLOR HELP<enter> or just COLOR<enter>. You may with
- impunity delete all of this garbage. COLOR.HLP must be in the default
- directory if you expect it to be found.
-
- You should note that COLOR.BAT will reset your system prompt to the
- $p$g sequence. This is good form at any time since what you see is
- the full DOS path to your current directory followed by a greater
- than symbol. I find the PROMPT $p$g sequence essential whenever I
- work on a big disk drive with lots of directories. If you wish to
- have something different, just put your own private version in
- where you see a $p$g.
- - Enjoy - Ed Bachmann - 10/10/84
- ======================================================================
- Examples: COLOR NORMAL GREEN BOLD
- COLOR YELLOW BBLUE NORMAL BCYAN WHITE RED YELLOW BBLACK
- COLOR COLOR NORMAL GREEN
- COLOR MONO NORMAL BOLD
- ======================================================================
- COLOR.HLP FILE - THIS IS HELP FOR THE COLOR.BAT COMMAND FILE.
- .
- . ANSI.SYS, CONFIG.SYS (with DEVICE=ANSI.SYS) and MODE.COM must be on
- . the disk when the PC is booted.
- . Type COLOR and then your choice of character, intensity, and/or
- . background color(s) from the following list of parameters:
- . =====================================================================
- . ----- GENERAL PARAMETERS ------ ------ MODE SETTING PARAMETERS ----
- . -- FOR COLOR & MONO DISPLAYS -- ----- TO CHANGE THE DISPLAY TYPE --
- . 1. normal (resets everything) 1. mono (use monochrome display)
- . 2. bold (high intensity) 2. color (use color display)
- . 3. reverse (reverse video) 3. b&w (use black & white display)
- . =====================================================================
- . ---------------------- FOR COLOR DISPLAYS ONLY ----------------------
- . ---- FORGROUND COLORS --------- ------ BACKGROUND COLORS ----------
- . 1. black 5. blue 1. bblack 5. bblue
- . 2. red 6. magenta 2. bred 6. bmagenta
- . 3. green 7. cyan 3. bgreen 7. bcyan
- . 4. yellow 8. white 4. byellow 8. bwhite
- . =====================================================================
-